export const data = {
  form: {},

  queryParams: {
    total: 0,
    dateRange: [],
    pageNum: 1,
    pageSize: 10,
    spuNo: null,
    spuCode: null,
    spuName: null,
    spuInfo: null,
    spuType: null,
    spuSpec: null,
    spuPickType: null,
    spuStatus: null,
    statusLable: null,
    warehouseId: null,
    zoneId: null,
    isQuality: null,
    qualityDays: null,
    create_name: null,
    comments: null,
  },
  rules: {

  },
}

export const column = [
  { prop: "spuId", label: "ID", width: 80, minWidth: 50 },
  { prop: "spuNo", label: "物料编号", width: 135, minWidth: 50, showOverflow: true },
  { prop: "spuName", label: "物料名称", width: 80, minWidth: 50, showOverflow: true },
  { prop: "spuType", label: "物料类型", width: 80, minWidth: 50 },
  { prop: "spuSpec", label: "物料规格", width: 80, minWidth: 50, showOverflow: true },
  { prop: "spuUnit", label: "计量单位", width: 80, minWidth: 50 },
  { prop: "statusLabel", label: "状态", width: 80, minWidth: 50 },
  { prop: "isQuality", label: "是否质检", width: 80, minWidth: 50 },
  { prop: "werks", label: "工厂编码", width: 80, minWidth: 50 },
  { prop: "warehouseName", label: "所属仓库", width: 135, minWidth: 50, showOverflow: true },
  { prop: "zoneName", label: "所属库区", width: 135, minWidth: 50, showOverflow: true },
  { prop: "qualityDays", label: "保质期", width: 80, minWidth: 50 },
  { prop: "packId", label: "包装ID", width: 80, minWidth: 50 },
  { prop: "packBaseQty", label: "包装数量", width: 80, minWidth: 50 },
  { prop: "createName", label: "创建者", width: 80, minWidth: 50 },
  { prop: "createDate", label: "创建时间", width: 180, minWidth: 150 },
  { prop: "updateName", label: "更新者", width: 80, minWidth: 50 },
  { prop: "updateDate", label: "更新时间", width: 180, minWidth: 150 },
  { prop: "comments", label: "备注信息", width: 80, minWidth: 50, showOverflow: true },
  { prop: "operate", label: "操作", fixed: "right", width: 150, type: 'detail;edit' },
]
export const formList = [
  { prop: "spuNo", label: "物料编号" },
  { prop: "spuName", label: "物料名称" },
  { prop: "spuType", label: "物料类型", type: 'select' },
  { prop: "spuSpec", label: "物料规格" },
  { prop: "comments", label: "备注信息" },
  { prop: "createDate", label: "创建时间", type: 'date' },
]